import request from '../utils/request'

export function uploadFileImage (file) {
  const param = new FormData()
  param.append('file', file)
  return request({
    url: '/file/image',
    data: param,
    method: 'post',
    header: {
      'Content-type': 'multipart/form-data'
    }
  })
}
